home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / utils / zero_430.arj / ZERO.DOC < prev    next >
Text File  |  1994-01-31  |  4KB  |  88 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                          Zero
  8.           ═════════════════════════════════════════════════════════════════
  9.  
  10.                Starting  with version 3.0 the program works with Dos 5.0 as
  11.           well as at least 3.3 (or earlier). The earlier versions would not
  12.           work with 5.0  so I modified the code to work with it and earlier
  13.           versions.
  14.  
  15.                Starting  with  version  4.20  the program  now  resets  the
  16.           archive bit if an existing file to be zeroed is "read only." This
  17.           still  does not  work if  you  are on  a CD-ROM  drive where  all
  18.           information on the disc  is "read only".  That is unless you  use
  19.           other  than  current directory  for  destination  of zero  length
  20.           files.
  21.  
  22.                Starting  with version 4.30 the  program now has an optional
  23.           "YES" if you want to skip the "yes" confirmation, but only if you
  24.           are  using the destination option.  This also lets  you use batch
  25.           files without having  to press  any keys. Use  caution with  this
  26.           option.
  27.  
  28.           ═════════════════════════════════════════════════════════════════
  29.  
  30.                I needed  to create zero length files in working with my GIF
  31.           collections, so I could  keep track of rejects (bad  or duplicate
  32.           files under different  names). So I created  ZERO. Nothing fancy,
  33.           but it works. If you  have any problems with it, please  write me
  34.           with complete details.
  35.  
  36.                The same steps  can be done with batch files, but being able
  37.           to write my own programs I prefer to write them rather than batch
  38.           files. Easier to handle errors, do colors, etc.
  39.  
  40.                   Wild cards do not work!
  41.  
  42.                This program will zero  length an existing file. If  it does
  43.           not exist it creates it. You  can zero  length  all of  any  file
  44.           extension  in  the current  directory. If  you  type in  ZERO the
  45.           screen displays the needed syntax and options (help screen).
  46.  
  47.                   ZERO filename.ext
  48.  
  49.                This creates a  zero length file  name filename.ext. If  the
  50.           file exists it is made to zero length. If the file does not exist
  51.           it is created.
  52.  
  53.                ZERO .ext
  54.  
  55.                The  period  is  required. This  makes  all  files with  the
  56.           extension of '.ext' into zero length files.
  57.  
  58.                ZERO .
  59.  
  60.                This  will make  zero  length files  of  all files  with  no
  61.  
  62.  
  63.  
  64.  
  65.  
  66.           extension.
  67.  
  68.                ZERO .GIF destination [yes]
  69.  
  70.                "destination" is other than  the current directory. Files in
  71.           the  current directory are not  zeroed out and  zero length files
  72.           are  written  to destination.  Warning:  If you  use  the current
  73.           directory as the  destination directory the files  in the current
  74.           directory  are zeroed out. This  is nice for  working with CD-Rom
  75.           discs where ALL files are read only.
  76.  
  77.                "yes" means you  are pre-answering the confirmation  prompt.
  78.           Remember that if there are existing files of the same name in the
  79.           "destination"  directory  they  are  zeroed out.  Just  use  some
  80.           caution with this option.
  81.  
  82.                Use  caution  with ZERO  .ext  as  this may  destroy  needed
  83.           /wanted data or other files you might not intend to zero length.
  84.  
  85.                         James Huckabey
  86.                         3621-A Fraser Street
  87.                         Bellingham, WA 98226-2473 U.S.A.
  88.                         (206) 671-2868 (voice, Pacific)